<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>自定义第一个组件</title>
</head>
<body>
<!--view层，模板-->
<div id="app">
    <ace></ace>
</div>
<!--1.导入Vue.js-->
<script src="https://cdn.jsdelivr.net/npm/vue@2.5.21/dist/vue.min.js"></script>
<script type="text/javascript">
    Vue.component("ace", {
        template: "<li>Hello Ace!</li>"
    });
    let vm = new Vue({
        el: '#app',
        data: {
            selected: ''
        }
    });
</script>

</body>
</html>